import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import Login from "../components/Login";
import AddDepartment from "../components/AddDepartment";
import Staff from "../components/Staff";
import AddStaff from "../components/AddStaff";

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/addstaff',
      name: 'AddStaff',
      component: AddStaff
    },
    {
      path: '/staff',
      name: 'Staff',
      component: Staff
    },
    {
      path: '/add',
      name: 'AddDepartment',
      component: AddDepartment
    },
    {
      path: '/',
      name: 'Login',
      component: Login
    },
  ]
})
